using System;
using System.Collections.Generic;
using UnityEngine;

[Serializable]
public class SfxSounds
{
	public SfxId id;

	public List<AudioClip> sounds;

	public AudioClip GetRandom()
	{
		if (sounds != null && sounds.Count > 0)
		{
			return sounds[UnityEngine.Random.Range(0, sounds.Count)];
		}
		return null;
	}
}
